package com.google.gwt.gwtpages.client.page;

public interface AsyncPageCallback {

	/**
	 * Event called when the page load is complete and successful
	 */
	void onSuccess();

	/**
	 * Event called if an error occurs while loading the page
	 * @param cause the thrown exception
	 */
	void onFailure(Throwable cause);
}
